<!DOCTYPE html>
<html data-ng-app="mainApp">
<head>
    <title>流水线demo页面</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <!-- Bootstrap -->
    <!--<link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">-->
    <link href="../vendors/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="../build/css/custom.min.css" rel="stylesheet">
    <!--项目启动css文件-->
    <link href="../css/projectstart.css" rel="stylesheet">
    <link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
    <link href="../css/app.118eea3d.min.css" rel="stylesheet">
    <link href="../css/vendor.118eea3d.min.css" rel="stylesheet">

    <!-- js-->
    <script src="../vendors/jquery/dist/jquery.min.js"></script>
    <script src="../vendors/angular/angular.min.js"></script>
    <script src="../../app.js" charset="UTF-8"></script>

    <script src="../datatable/bootstraptpls.js" charset="UTF-8"></script>
    <script src="../services/online_testService.js" charset="UTF-8"></script>
    <script src="../services/develop_processService.js" charset="UTF-8"></script>
    <script src="../controllers/projectstart_controller.js" charset="UTF-8"></script>
    <script src="../services/projectstart_Service.js" charset="UTF-8"></script>
    <script src="../services/online_deliveryService.js" charset="UTF-8"></script>
    <script src="../services/acceptanceService.js" charset="UTF-8"></script>
    <script src="../controllers/project_selectcontroller.js" charset="UTF-8"></script>
    <script src="../controllers/configManage_controller.js" charset="UTF-8"></script>
    <script src="../filter/filter.js" charset="UTF-8"></script>

    <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="../vendors/fastclick/lib/fastclick.js"></script>
    <script src="../vendors/nprogress/nprogress.js"></script>
    <script src="../vendors/jQuery-Smart-Wizard/js/jquery.smartWizard.js"></script>
    <script src="../vendors/raphael/raphael.min.js"></script>
    <script src="../vendors/morris.js/morris.min.js"></script>
    <script src="../vendors/iCheck/icheck.min.js"></script>
    <script src="../build/js/custom.min.js"></script>
    <script src="../datatable/h5Charts.js" charset="UTF-8"></script>
    <script src="../datatable/H5Draw.js" charset="UTF-8"></script>

    <style>
        #donetestcases{border:solid 1px #E9E9E9;}
        #addbugs{border:solid 1px #E9E9E9;}
        #validbugs{border:solid 1px #E9E9E9;}
        #requirementdone{border:solid 1px #E9E9E9;}
        #codenumsubmit{border:solid 1px #E9E9E9;}
        #costtime{border:solid 1px #E9E9E9;}

        .confirmModal .modal-content {
          width: 450px;
          margin-top: 40%;
        }
    </style>

</head>
<body data-ng-controller="ProjectStartController" class="rb-console smart-style-2 ng-scope">
<rb-layout class="ng-isolate-scope" data-ng-init="load0()">
<rb-layout-page-container container-name="pipeline.config.create" class="ng-isolate-scope">
    <div class="panel-split-container">
        <div class="page-scroll-container">
        <div class="rb-page-component ng-scope" id="rb-page-component-container" ui-view="">
            <rb-pipeline-config-create config-copy="::$resolve.configCopy" class="ng-scope ng-isolate-scope">
                <div class="rb-form-panel" rb-loading-mask="vm.submitting" style="position: relative;">
                    <div class="rb-form-container">

                        <header>
                            <div class="pipeline-create-title" style="width:90%;text-align:center;">创建项目管理流水线</div>
                            <div flex="" class="placeholder flex"></div>
                            <div>
                                <div class="control-buttons">
                                    <button class="ui button rb-btn-default ng-binding" ng-click="goBack()">
                                        取消
                                    </button>
                                    <button class="ui button rb-btn-primary ng-binding" ng-show="!vm.isUpdate" ng-disabled="!vm.isConfig" ng-click="createPipeLine()">
                                        创建
                                    </button>
                                    <button class="ui button rb-btn-primary ng-binding" ng-show="vm.isUpdate" ng-disabled="!vm.isConfig" ng-click="updatePipeLine()">
                                        修改
                                    </button>
                                </div>
                            </div>
                        </header>

                        <div class="divider"></div>


                        <!-- ngIf: vm.config -->
                        <rb-pipeline-config-workflow ng-show="true" config="vm.config" mode="vm.configCopy ? 'copyCreate' : 'create'" class="ng-scope ng-isolate-scope">
                            <div class="pipeline-panels-container">
                                <rb-pipeline-workflow workflow="vm.workflow" class="ng-isolate-scope">
                                    <div class="pipeline-workflow-container">

                                        <!-- ngRepeat: taskItem in vm.workflow.tasks track by taskItem.id -->
                                        <div class="pipeline-step-container ng-scope" ng-repeat="taskItem in vm.workflow.tasks track by taskItem.itemId">
                                            <rb-pipeline-workflow-item item="taskItem" workflow="vm.workflow" class="ng-isolate-scope">
                                                <div class="workflow-item-container active" ng-class="{ 'selected': taskItem.selected, 'error': false, 'running': true }" ng-click="" role="button" tabindex="0">
                                                    <div class="workflow-item-header" title="task-1">
                                                        <div class="order-num ng-binding" aria-hidden="false">
                                                            {{$index+1}}
                                                        </div>
                                                        <div class="header-title ng-binding">
                                                            task-{{$index+1}}
                                                        </div>
                                                        <!-- ngIf: vm.item.isTask() && vm.item.touched && !vm.workflow.readonly -->
                                                        <div class="remove-icon fa fa-trash ng-scope" ng-click="pipeLineRemove($index)" ng-if="taskItem.isClick" role="button" tabindex="0">
                                                        </div>

                                                    </div>
                                                    <div rb-loading-mask="vm.item.loading" class="workflow-item-body">
                                                        <!-- ngIf: !vm.item.touched -->
                                                        <div class="fa fa-plus ng-scope" ng-if="!taskItem.isClick" ng-click="configTask(taskItem)">
                                                        </div>
                                                        <!-- end ngIf: !vm.item.touched -->
                                                        <div class="workflow-item-message-container ng-scope" ng-show="taskItem.isClick" aria-hidden="false" ng-click="configShow(taskItem)">
                                                            <select name="" style="height:26px;width:90%;border-radius:4px;board:none;border:0;" ng-model="selectedTS"
                                                                    ng-options="ts.name for ts in taskStyle" ng-change="TSChoose(taskItem,selectedTS)" ng-show="taskItem.isSelectShow">
                                                                <option value="">请选择一个任务类型</option>
                                                            </select>
                                                            <div ng-show="!taskItem.isSelectShow">{{taskItem.type}}</div>
                                                        </div>
                                                        <!-- ngRepeat: field in vm.item.fields | orderBy: 'order' -->
                                                        <div class="rb-loading-mask ng-scope ng-hide" ng-show="false" aria-hidden="true">
                                                            <div class="ui loader medium active">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </rb-pipeline-workflow-item>

                                            <rb-pipeline-workflow-arrow ng-hide="$last && !vm.workflow.onEnd" class="arrow-indicator ng-isolate-scope" type="taskItem.arrowType()" ng-click="taskItem.onArrowClick()" state="taskItem.state" role="button" tabindex="0" aria-hidden="false">
                                                <div class="arrow-container-outer" uib-tooltip="">
                                                    <div type="" class="arrow-container">
                                                        <svg class="arrow-svg" width="28px" height="21px" version="1.1" xmlns="http://www.w3.org/2000/svg">
                                                            <g>
                                                            <g transform="translate(-257.000000, -270.000000)" class="arrow-filler" ng-class="{'active': true}">
                                                            <g transform="translate(0.000000, -89.000000)">
                                                            <g transform="translate(153.000000, 141.000000)">
                                                            <g>
                                                            <g transform="translate(30.000000, 77.000000)">
                                                            <g>
                                                            <g transform="translate(74.000000, 141.000000)">
                                                            <g>
                                                            <rect x="7" y="0" width="14" height="10"></rect>
                                                            <polygon points="0 9 28 9 14 21"></polygon>
                                                            </g>
                                                            </g>
                                                            </g>
                                                            </g>
                                                            </g>
                                                            </g>
                                                            </g>
                                                            </g>
                                                            </g>
                                                        </svg>
                                                        <div class="fa fa-plus-circle plus-sign"></div>
                                                        <div class="fa fa-plus plus-sign-large"></div>
                                                    </div>
                                                </div>
                                            </rb-pipeline-workflow-arrow>
                                        </div>
                                        <!-- end ngRepeat: taskItem in vm.workflow.tasks track by taskItem.id -->



                                        <!-- ngIf: vm.workflow.onEnd -->
                                        <div ng-show="vm.workflow.onEnd" class="pipeline-step-container ng-scope">
                                            <rb-pipeline-workflow-item item="vm.workflow.onEnd" workflow="vm.workflow" class="ng-isolate-scope">
                                                <div class="workflow-item-container inactive" ng-class="{ selected: vm.item.selected, disabled: vm.item.disabled, running: vm.item.running }" ng-click="vm.item.onClick()" role="button" tabindex="0">
                                                    <div class="workflow-item-header" title="完成任务">
                                                        <div ng-show="vm.item.isTask() &amp;&amp; vm.item.order" class="order-num ng-binding ng-hide" aria-hidden="true">
                                                            1
                                                        </div>
                                                        <div class="header-title ng-binding">
                                                            完成任务
                                                        </div>
                                                        <!-- ngIf: vm.item.isTask() && vm.item.touched && !vm.workflow.readonly -->
                                                    </div>
                                                    <div rb-loading-mask="vm.item.loading" class="workflow-item-body">
                                                        <!-- ngIf: !vm.item.touched -->
                                                        <div class="fa fa-plus ng-scope" ng-if="!vm.item.touched">
                                                        </div>
                                                        <!-- end ngIf: !vm.item.touched -->
                                                        <div class="workflow-item-message-container ng-binding ng-hide" ng-show="vm.item.message &amp;&amp; !vm.item.loading &amp;&amp; vm.item.touched" aria-hidden="true">

                                                        </div>
                                                        <!-- ngRepeat: field in vm.item.fields | orderBy: 'order' -->
                                                        <div type="pipeline_task_type" class="workflow-item-field-row  ng-hide" ng-repeat="field in vm.item.fields | orderBy: 'order'" ng-show="vm.item.touched &amp;&amp; !vm.item.message &amp;&amp; field.label" aria-hidden="true">
																	<span class="fa fa-bookmark field-logo" uib-tooltip="任务类型" tooltip-append-to-body="true">
																	</span>
                                                            <div class="field-label ng-binding" title="通知">通知</div>
                                                        </div>
                                                        <!-- end ngRepeat: field in vm.item.fields | orderBy: 'order' -->
                                                        <div type="notification" class="workflow-item-field-row  ng-hide" ng-repeat="field in vm.item.fields | orderBy: 'order'" ng-show="vm.item.touched &amp;&amp; !vm.item.message &amp;&amp; field.label" aria-hidden="true">
																	<span class="fa fa-bullhorn field-logo" uib-tooltip="通知" tooltip-append-to-body="true">
																	</span>
                                                            <div class="field-label ng-binding" title=""></div>
                                                        </div>
                                                        <!-- end ngRepeat: field in vm.item.fields | orderBy: 'order' -->
                                                        <div type="region" class="workflow-item-field-row  ng-hide" ng-repeat="field in vm.item.fields | orderBy: 'order'" ng-show="vm.item.touched &amp;&amp; !vm.item.message &amp;&amp; field.label" aria-hidden="true">
																	<span class="fa fa-server field-logo" uib-tooltip="集群" tooltip-append-to-body="true">
																	</span>
                                                            <div class="field-label ng-binding" title=""></div>
                                                        </div>
                                                        <!-- end ngRepeat: field in vm.item.fields | orderBy: 'order' -->
                                                        <div type="timeout" class="workflow-item-field-row  ng-hide" ng-repeat="field in vm.item.fields | orderBy: 'order'" ng-show="vm.item.touched &amp;&amp; !vm.item.message &amp;&amp; field.label" aria-hidden="true">
																	<span class="fa fa-clock-o field-logo" uib-tooltip="超时" tooltip-append-to-body="true">
																	</span>
                                                            <div class="field-label ng-binding" title=""></div>
                                                        </div>
                                                        <!-- end ngRepeat: field in vm.item.fields | orderBy: 'order' -->
                                                        <div class="rb-loading-mask ng-scope ng-hide" ng-show="vm.item.loading" aria-hidden="true">
                                                            <div class="ui loader medium active"></div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </rb-pipeline-workflow-item>
                                        </div>
                                        <!-- end ngIf: vm.workflow.onEnd -->

                                    </div>
                                </rb-pipeline-workflow>


                                <!--右边的活动区域-->
                                <div class="pipeline-config-forms-container" style="border:0px solid #999;">
                                    <!--项目启动部分-->
                                    <rb-pipeline-config-form item="item" mode="vm.mode" form="vm.forms[item.id]" workflow="vm.workflow" ng-show="type === '项目启动'" class="ng-scope ng-isolate-scope" aria-hidden="false">
                                        <div class="rb-header-alt ng-binding">
                                            {{taskStyle[0].name}}
                                            <a href="#" class="rb-btn-link ng-binding" ng-click="vm.helpLinkClicked()">
                                                了解更多
                                                <i class="fa fa-angle-double-right"></i>
                                            </a>
                                        </div>
                                        <div class="rb-form ng-pristine ng-valid ng-valid-required ng-valid-pattern ng-valid-min ng-valid-max">

                                            <div style="height:30px;width:95%;border:0px solid #FFFFFF;">
                                                <div style="float:left;height:30px;width:9%;border:0px solid #999;font-weight:900;line-height:25px;">
                                                    项目名称
                                                </div>
                                                <div style="float:left;height:30px;width:80%;border:0px solid #999;">
                                                    <input type="text" name="newProjectName" ng-model="newProjectName" placeholder="项目名称" style="height:26px;border-radius:4px;" required/>
                                                </div>
                                            </div>

                                            <div style="height:40px;width:95%;border:0px solid #FFFFFF;">
                                                <div style="float:left;height:30px;width:8%;border:0px solid #999;font-weight:900;line-height:25px;">
                                                    启动日期
                                                </div>
                                                <div class="form-group col-sm-4" style="float:left;border:0px solid #999;height:30px;">
                                                    <div class="input-group m-d">
                                                        <input type="text" class="form-control" name="loanDate" datepicker-popup="{{format}}" ng-model="finance.loanDate" is-open="loanDate" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
                                                        <span class="input-group-btn">
                                                            <button type="button" class="btn btn-default" ng-click="openDatepicker($event,1)">
                                                                <i class="glyphicon glyphicon-calendar"></i>
                                                            </button>
							                            </span>
                                                    </div>
                                                </div>
                                            </div>

                                            <div style="height:40px;width:95%;border:0px solid #FFFFFF;">
                                                <div style="float:left;height:30px;width:8%;border:0px solid #999;font-weight:900;line-height:25px;">
                                                    结束日期
                                                </div>
                                                <div class="form-group col-sm-4" style="float:left;border:0px solid #999;height:30px;">
                                                    <div class="input-group m-d">
                                                        <input type="text" class="form-control" name="loanDate1" datepicker-popup="{{format}}" ng-model="finance.loanDate1" is-open="loanDate1" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
                                                        <span class="input-group-btn">
                                                            <button type="button" class="btn btn-default" ng-click="openDatepicker1($event,1)">
                                                                <i class="glyphicon glyphicon-calendar"></i>
                                                            </button>
							                            </span>
                                                    </div>
                                                </div>
                                            </div>

                                            <div style="height:60px;width:95%;border:0px solid #FFFFFF;">
                                                <div style="float:left;height:60px;width:9%;border:0px solid #999;font-weight:900;line-height:50px;">
                                                    项目说明
                                                </div>
                                                <div style="float:left;height:60px;width:80%;border:0px solid #999;line-height:10px;">
                                                    <textarea ng-model="newProjectDes" style="height:55px;width:80%;resize:none;border-radius:4px;" placeholder="项目说明"></textarea>
                                                </div>
                                            </div>

                                            <!--此处产品列表需根据下拉框选择的产品动态增加-->
                                            <div style="height:30px;width:95%;border:0px solid #FFFFFF;">
                                                <div style="float:left;height:30px;width:9%;border:none;font-weight:900;line-height:25px;">
                                                    涉及产品
                                                </div>
                                                <div style="float:left;height:30px;width:10%;border:0px solid #999;">
                                                    <select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPro"
                                                            ng-options="pro.productName for pro in allpros" ng-change="proChoose(pro)">
                                                        <option value="">--请选择--</option>
                                                    </select>
                                                </div>
                                                <div style="float:left;height:30px;width:1%;border:none;"></div>
                                                <div style="float:left;height:30px;width:auto;border:none;text-align:left;line-height:28px;" ng-repeat="addedPro in addedPros">
                                                    <button type="button" class="close" style="line-height:28px;" ng-click="delPros($index)">
                                                        &times;
                                                    </button>
                                                    {{addedPro.productName}}
                                                </div>
                                            </div>

                                            <div style="height:120px;width:95%;border:0px solid #FFFFFF;">
                                                <div style="float:left;height:118px;width:100%;border:0px solid #999;">

                                                    <div style="float:left;height:28px;width:100%;border:0px solid #999;">
                                                        <div style="float:left;height:28px;width:9%;border:none;text-align:left;line-height:28px;font-weight:900;">项目经理</div>
                                                        <div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
                                                            <select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPM" ng-options="pm.name for pm in allpms">
                                                                <option value="">--请选择--</option>
                                                            </select>
                                                        </div>
                                                        <div style="float:left;height:28px;width:1%;border:none;"></div>
                                                        <div style="float:left;height:28px;width:auto;border:0px solid #999;text-align:left;line-height:28px;">
                                                            {{selectedPM.name}}
                                                        </div>
                                                    </div>

                                                    <div style="float:left;height:28px;width:100%;border:0px solid #999;">
                                                        <div style="float:left;height:28px;width:9%;border:none;text-align:left;line-height:28px;font-weight:900;">开发人员</div>
                                                        <div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
                                                            <select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedCoder"
                                                                    ng-options="coder.name group by coder.productModel.productName for coder in allCoders" ng-change="coderChoose()">
                                                                <option value="">--请选择--</option>
                                                            </select>
                                                        </div>
                                                        <div style="float:left;height:28px;width:1%;border:none;"></div>
                                                        <div style="float:left;height:28px;width:auto;border:none;text-align:left;line-height:28px;" ng-repeat="addedCoder in addedCoders">
                                                            <button type="button" class="close" style="line-height:28px;" ng-click="delCoders($index)">
                                                                &times;
                                                            </button>
                                                            {{addedCoder.name}}
                                                        </div>
                                                    </div>

                                                    <div style="float:left;height:28px;width:100%;border:0px solid #999;">
                                                        <div style="float:left;height:28px;width:9%;border:none;text-align:left;line-height:28px;font-weight:900;">测试人员</div>
                                                        <div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
                                                            <select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedTester"
                                                                    ng-options="tester.name group by tester.productModel.productName for tester in allTesters" ng-change="testerChoose()">
                                                                <option value="">--请选择--</option>
                                                            </select>
                                                        </div>
                                                        <div style="float:left;height:28px;width:1%;border:none;"></div>
                                                        <div style="float:left;height:28px;width:auto;border:0px solid #999;text-align:left;line-height:28px;" ng-repeat="addedTester in addedTesters">
                                                            <button type="button" class="close" style="line-height:28px;" ng-click="delTesters($index)">
                                                                &times;
                                                            </button>
                                                            {{addedTester.name}}
                                                        </div>
                                                    </div>

                                                    <div style="float:left;height:28px;width:100%;border:0px solid #999;">
                                                        <div style="float:left;height:28px;width:9%;border:none;text-align:left;line-height:28px;font-weight:900;">部署经理</div>
                                                        <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                            <select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedDM" ng-options="dm.name for dm in alldms">
                                                                <option value="">--请选择--</option>
                                                            </select>
                                                        </div>
                                                        <div style="float:left;height:28px;width:1%;border:none;"></div>
                                                        <div style="float:left;height:28px;width:auto;border:none;text-align:left;line-height:28px;">
                                                            {{selectedDM.name}}
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class = "addressMainDiv">
                                                <div class = "addressNameDiv">
                                                    代码仓库
                                                </div>
                                                <div style="float:left;height:40px;width:9%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
                                                <div class="ProductForAddressDiv">
                                                    <select class="productForAddressSelect" ng-model="selectedProBranch"
                                                            ng-options="pro.productName for pro in addedPros" ng-change="proBranchChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                    <select class="productForAddressSelect" ng-model="selectedCodeType"
                                                            ng-options="codeType for codeType in codeTypes" ng-change="proBranchChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                </div>
                                                <div class="addressDiv">
                                                    <input type="text" ng-model="subBranchInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入代码分支地址" />
                                                </div>
                                                <div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
                                                <div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
                                                    <a>
                                                        <button type="button" ng-show="isNew" ng-click="saveBranchInfoPerPro()" ng-disabled="isDisabled" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            保存
                                                        </button>
                                                        <button type="button" ng-show="!isNew" ng-click="saveBranchInfoPerPro()" ng-disabled="isDisabled" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            修改
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class = "addressMainOtherDiv">
                                                <div class = "addressNameDiv">
                                                    Nexus仓库地址
                                                </div>
                                                <div style="float:left;height:40px;width:9%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
                                                <div class="ProductForAddressOtherDiv">
                                                    <select name="" style="height:26px;width:90%;border-radius:4px;" ng-model="selectedProNexus"
                                                            ng-options="pro.productName for pro in addedPros" ng-change="proNexusChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                </div>
                                                <div class="addressDiv">
                                                    <input type="text" ng-model="subNexusInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入Nexus仓库地址" />
                                                </div>
                                                <div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
                                                <div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
                                                    <a>
                                                        <button type="button" ng-show="isNew" ng-click="saveNexusInfoPerPro()" ng-disabled="isDisabled1" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            保存
                                                        </button>
                                                        <button type="button" ng-show="!isNew" ng-click="saveNexusInfoPerPro()" ng-disabled="isDisabled1" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            修改
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class = "addressMainOtherDiv">
                                                <div class = "addressNameDiv">
                                                    Harbor镜像仓库地址
                                                </div>
                                                <div style="float:left;height:40px;width:9%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
                                                <div class="ProductForAddressOtherDiv">
                                                    <select name="" style="height:26px;width:90%;border-radius:4px;" ng-model="selectedProHarbor"
                                                            ng-options="pro.productName for pro in addedPros" ng-change="proHarborChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                </div>
                                                <div class="addressDiv">
                                                    <input type="text" ng-model="subHarborInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入Harbor镜像仓库地址" />
                                                </div>
                                                <div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
                                                <div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
                                                    <a>
                                                        <button type="button" ng-show="isNew" ng-click="saveHarborInfoPerPro()" ng-disabled="isDisabled2" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            保存
                                                        </button>
                                                        <button type="button" ng-show="!isNew" ng-click="saveHarborInfoPerPro()" ng-disabled="isDisabled2" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            修改
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class = "addressMainDiv">
                                                <div class = "addressNameDiv">
                                                    日常集成jenkins地址
                                                </div>
                                                <div style="float:left;height:60px;width:9%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
                                                <div class="ProductForAddressDiv">
                                                    <select class="productForAddressSelect" ng-model="selectedProDJenkins"
                                                            ng-options="pro.productName for pro in addedPros" ng-change="proDJenkinsChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                    <select class="productForAddressSelect" ng-model="selectedJenkinsDailyType"
                                                            ng-options="jenkinsType for jenkinsType in jenkinsTypes" ng-change="proDJenkinsChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                </div>
                                                <div class="addressDiv">
                                                    <input type="text" ng-model="subDJenkinsInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入日常集成jenkins地址" />
                                                </div>
                                                <div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
                                                <div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
                                                    <a>
                                                        <button type="button" ng-show="isNew" ng-click="saveDJenkinsInfoPerPro()" ng-disabled="isDisabled3" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            保存
                                                        </button>
                                                        <button type="button" ng-show="!isNew" ng-click="saveDJenkinsInfoPerPro()" ng-disabled="isDisabled3" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            修改
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class = "addressMainDiv">
                                                <div class = "addressNameDiv">
                                                    版本测试jenkins地址
                                                </div>
                                                <div style="float:left;height:40px;width:9%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
                                                <div class="ProductForAddressDiv">
                                                    <select class="productForAddressSelect" ng-model="selectedProVJenkins"
                                                            ng-options="pro.productName for pro in addedPros" ng-change="proVJenkinsChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                    <select class="productForAddressSelect" ng-model="selectedJenkinsType"
                                                            ng-options="jenkinsType for jenkinsType in jenkinsTypes" ng-change="proVJenkinsChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                </div>
                                                <div class="addressDiv">
                                                    <input type="text" ng-model="subVJenkinsInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入版本测试jenkins地址" />
                                                </div>
                                                <div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
                                                <div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
                                                    <a>
                                                        <button type="button" ng-show="isNew" ng-click="saveVJenkinsInfoPerPro()" ng-disabled="isDisabled4" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            保存
                                                        </button>
                                                        <button type="button" ng-show="!isNew" ng-click="saveVJenkinsInfoPerPro()" ng-disabled="isDisabled4" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            修改
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>

                                            <div class = "addressMainOtherDiv">
                                                <div class = "addressNameDiv">
                                                    Testrail地址
                                                </div>
                                                <div style="float:left;height:40px;width:9%;border:0px solid #999;font-weight:900;line-height:40px;"></div>
                                                <div class="ProductForAddressOtherDiv">
                                                    <select name="" style="height:26px;width:90%;border-radius:4px;" ng-model="selectedProTR"
                                                            ng-options="pro.productName for pro in addedPros" ng-change="proTRChoose()">
                                                        <option value="">---请选择---</option>
                                                    </select>
                                                </div>
                                                <div class="addressDiv">
                                                    <input type="text" ng-model="subTRInfo" style="height:26px;width:100%;border-radius:4px;" placeholder="请输入Testrail地址" />
                                                </div>
                                                <div style="float:left;height:40px;width:1%;border:0px solid #999;line-height:40px;"></div>
                                                <div style="float:left;height:40px;width:10%;border:0px solid #999;line-height:40px;">
                                                    <a>
                                                        <button type="button" ng-show="isNew" ng-click="saveTRInfoPerPro()" ng-disabled="isDisabled5" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            保存
                                                        </button>
                                                        <button type="button" ng-show="!isNew" ng-click="saveTRInfoPerPro()" ng-disabled="isDisabled5" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:40px;height:25px;line-height:9px;">
                                                            修改
                                                        </button>
                                                    </a>
                                                </div>
                                            </div>

                                            <div style="height:10px;width:95%;border:0px solid #999;"></div>
                                            <div style="text-align:center;" ng-show="isNew">
                                                <a>
                                                    <button type="submit" ng-click="saveProjectInfo()" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:70px;height:35px;">
                                                        保存
                                                    </button>
                                                </a>
                                            </div>
                                            <div style="text-align:center;" ng-show="!isNew">
                                                <a>
                                                    <button type="submit" ng-click="saveProjectInfo()" style="background:#00a3e2;color:#FFF;border-radius:4px;border:none;width:70px;height:35px;">
                                                        更新
                                                    </button>
                                                </a>
                                            </div>

                                        </div>
                                    </rb-pipeline-config-form>

                                    <!--研发过程部分-->
                                    <rb-pipeline-config-form item="item" mode="vm.mode" form="vm.forms[item.id]" workflow="vm.workflow" ng-show="type === '研发过程'" class="ng-scope ng-isolate-scope" aria-hidden="false">
                                        <div class="rb-header-alt ng-binding">
                                            {{taskStyle[1].name}}
                                            <a href="#" class="rb-btn-link ng-binding" ng-click="vm.helpLinkClicked()">
                                                了解更多
                                                <i class="fa fa-angle-double-right"></i>
                                            </a>
                                        </div>
                                        <ng-form name="form" class="rb-form ng-pristine ng-valid ng-valid-required ng-valid-pattern ng-valid-min ng-valid-max">

                                            <div style="width:100%;height:1150px;border:none;">
                                                <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
                                                    <li role="presentation" class="active"><a href="#tab_content11" id="home-tab11" role="tab" data-toggle="tab" aria-expanded="true">项目需求</a>
                                                    </li>
                                                    <li role="presentation" class=""><a href="#tab_content22" role="tab" id="profile-tab22" data-toggle="tab" aria-expanded="false">代码审计</a>
                                                    </li>
                                                    <li role="presentation" class=""><a href="#tab_content33" role="tab" id="profile-tab33" data-toggle="tab" aria-expanded="false">构建信息</a>
                                                    </li>
                                                </ul>
                                                <div id="myTabContent" class="tab-content">
                                                    <div role="tabpanel" class="tab-pane fade active in" id="tab_content11" aria-labelledby="home-tab">
                                                        <div style="float:left;width:100%;height:30px;border:none;">
                                                            <div style="float:left;width:10px;height:30px;border:none;"></div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:95%;border-radius:4px;" ng-model="selectedPro2" ng-init="selectedPro2 = pros[0]"
                                                                        ng-options="pro.productName for pro in pros" ng-change="proChange2(1)">
                                                                    <option value="">请选择产品</option>
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:95%;border-radius:4px;" ng-model="selectedOper2" ng-init="selectedOper2 = opers[0]"
                                                                        ng-options="oper.name for oper in opers" ng-change="operChange2(1)">
                                                                    <option value="">请选择处理人</option>
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:95%;border-radius:4px;" ng-init="selectedStatus2 = status[0]"
                                                                        ng-model="selectedStatus2" ng-options="substatus for substatus in status" ng-change="statusChange2()">
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:95%;border-radius:4px;" ng-init="selectedKind2 = kinds[0]"
                                                                        ng-model="selectedKind2" ng-options="subkind for subkind in kinds" ng-change="statusChange2()">
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:95%;border-radius:4px;" ng-init="selectedPriority2 = prioritys[0]"
                                                                        ng-model="selectedPriority2" ng-options="priority for priority in prioritys" ng-change="statusChange2()">
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:25%;border:none;"></div>
                                                            <div style="float:left;height:28px;width:15%;border:none;text-align:center;line-height:28px;">
                                                                <input name="" type="text" placeholder="请输入关键字搜索" style="height:26px;width:100%;border-radius:4px;" ng-model="keyword" />
                                                            </div>
                                                            <div style="float:left;height:28px;width:3%;border:none;text-align:left;margin-top:-1px;">
                                                                <a href="" ng-click="statusChange2()"><img style="height:28px;" src="../images/search.png" /></a>
                                                            </div>
                                                        </div>
                                                        <div style="float:left;width:100%;height:30px;border:none;line-height:28px;">
                                                            <!--<div style="float:left;width:15px;height:30px;border:none;"></div>-->
                                                            <!--<label style="float:left;font-size:15px;">TODO ：</label>-->
                                                            <!--<div style="float:left;width:5%;height:30px;border:none;font-size:15px;">{{todoRequirementNum}}</div>-->
                                                            <!--<label style="float:left;font-size:15px;">DOING ：</label>-->
                                                            <!--<div style="float:left;width:5%;height:30px;border:none;font-size:15px;">{{doingRequirementNum}}</div>-->
                                                            <!--<label style="float:left;font-size:15px;">DONE ：</label>-->
                                                            <!--<div style="float:left;width:5%;height:30px;border:none;font-size:15px;">{{doneRequirementNum}}</div>-->
                                                        </div>
                                                        <div style="float:left;width:100%;height:740px;border:none;">
                                                            <table style="float:left;;width:100%;height:auto;table-layout:fixed;">
                                                                <thead>
                                                                <tr style="background-color:#00a3e2;height:40px;border-bottom:1px solid #F2F2F2;">
                                                                    <th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">产品名称</th>
                                                                    <th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">编号</th>
                                                                    <th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">类型优先级</th>
                                                                    <th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">类型</th>
                                                                    <th style="text-align:center;width:40%;font-size:14px;border-right:1px solid #FFFFFF;">标题</th>
                                                                    <th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">处理人</th>
                                                                    <th style="text-align:center;width:10%;font-size:14px;border-right:1px solid #FFFFFF;">状态</th>
                                                                </tr>
                                                                </thead>
                                                                <tbody>
                                                                <tr style="background-color:#F5FAFE;height:30px;" ng-repeat="requirement in requirements">
                                                                    <th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productName}}</th>
                                                                    <th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productNumber}}</th>
                                                                    <th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.level}}</th>
                                                                    <th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productType}}</th>
                                                                    <th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productTitle}}</th>
                                                                    <th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.personName}}</th>
                                                                    <th style="text-align:center;border-right:1px solid #FFFFFF;border-bottom:2px solid #FFFFFF;word-wrap:break-word;">{{requirement.productStatus}}</th>
                                                                </tr>
                                                                </tbody>
                                                            </table>

                                                            <pagination total-items="totalItems" ng-model="page" ng-change="operChange2(page)" previous-text="上一页"
                                                                        next-text="下一页" items-per-page="count" boundary-links="true" force-ellipses="true"
                                                                        class="pagination-sm" max-size="currentPageNum">
                                                            </pagination>

                                                        </div>
                                                    </div>
                                                    <div role="tabpanel" class="tab-pane fade" id="tab_content22" aria-labelledby="profile-tab">
                                                        <div style="float:left;width:100%;height:30px;border:none;">
                                                            <div style="float:left;width:20px;height:30px;border:none;"></div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPro21" ng-init="selectedPro21 = pros[0]"
                                                                        ng-options="pro1.productName for pro1 in pros" ng-change="pro1Change2()">
                                                                    <option value="">请选择产品</option>
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:6%;border:none;text-align:center;line-height:28px;"></div>
                                                            <div style="float:left;height:28px;width:10%;border:none;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:100%;border-radius:4px;" ng-init="selectedTimedimension2 = timedimensions[0]"
                                                                        ng-model="selectedTimedimension2" ng-options="timedimension for timedimension in timedimensions" ng-change="timedimensionChange2()">
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <!--新增需求和代码量统计柱状图-->
                                                        <div>
                                                            <div style="float:left;height:40px;width:100%;border:0px solid #999;">
                                                                <div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
                                                                <div style="float:left;height:40px;width:98%;border:0px solid #999;font-size:20px;line-height:40px">需求解决数</div>
                                                            </div>
                                                            <canvas id="requirementdone" width="1000" height="320">
                                                                browser doesn't support html5
                                                            </canvas>

                                                            <div style="float:left;height:40px;width:100%;border:0px solid #999;">
                                                                <div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
                                                                <div style="float:left;height:40px;width:98%;border:0px solid #999;font-size:20px;line-height:40px">代码提交量</div>
                                                            </div>
                                                            <canvas id="codenumsubmit" width="1000" height="320">
                                                                browser doesn't support html5
                                                            </canvas>
                                                            <div style="float:left;height:40px;width:100%;border:0px solid #999;">
                                                                <div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
                                                                <div style="float:left;height:40px;width:98%;border:0px solid #999;font-size:20px;line-height:40px">需求处理时间</div>
                                                            </div>
                                                            <canvas id="costtime" width="1000" height="320">
                                                                browser doesn't support html5
                                                            </canvas>

                                                        </div>
                                                    </div>
                                                    <div role="tabpanel" class="tab-pane fade" id="tab_content33" aria-labelledby="profile-tab">
                                                        <div style="float:left;width:100%;height:30px;border:none;font-size:20px;font-weight:bold;">
                                                            开发持续集成任务
                                                        </div>
                                                        <div style="float:left;width:100%;height:auto;" data-ng-repeat="record in latestBuildRecords">
                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    构建信息
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.productKey}}</div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.date}}</div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:10%;height:150px;border:none;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Checkout
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;" ng-if="record.isCheckOut != null && record.isCheckOut">成功</div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;" ng-if="record.isCheckOut == null || !record.isCheckOut">失败</div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>

                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Build
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.isBuild}}</div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:16%;height:150px;border:none;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Static Code Analysis
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">高优先级BUG {{record.highPriorityNum}}个</div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">中优先级BUG {{record.normalPriorityNum}}个</div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Coverage report
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">{{record.coverageReport}}</div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </ng-form>
                                    </rb-pipeline-config-form>

                                    <!--在线测试部分-->
                                    <rb-pipeline-config-form item="item" mode="vm.mode" form="vm.forms[item.id]" workflow="vm.workflow" ng-show="type === '在线测试'" class="ng-scope ng-isolate-scope" aria-hidden="false">
                                        <div class="rb-header-alt ng-binding">
                                            {{taskStyle[2].name}}
                                            <a href="#" class="rb-btn-link ng-binding" ng-click="vm.helpLinkClicked()">
                                                了解更多
                                                <i class="fa fa-angle-double-right"></i>
                                            </a>
                                        </div>
                                        <ng-form name="form" class="rb-form ng-pristine ng-valid ng-valid-required ng-valid-pattern ng-valid-min ng-valid-max">

                                            <div style="width:100%;height:830px;border:none;">
                                                <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
                                                    <li role="presentation" class="active"><a href="#tab_content1" id="home-tab" role="tab" data-toggle="tab" aria-expanded="true">测试结果</a>
                                                    </li>
                                                    <li role="presentation" class=""><a href="#tab_content2" role="tab" id="profile-tab" data-toggle="tab" aria-expanded="false">版本测试</a>
                                                    </li>
                                                </ul>
                                                <div id="myTabContent" class="tab-content">
                                                    <div role="tabpanel" class="tab-pane fade active in" id="tab_content1" aria-labelledby="home-tab">
                                                        <div style="float:left;width:100%;height:30px;border:0px solid #999;">
                                                            <div style="float:left;width:20px;height:30px;border:0px solid #999;"></div>
                                                            <div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
                                                                <select style="height:26px;width:100%;border-radius:4px;" ng-model="selectedPro3" ng-init="selectedPro3 = pros[0]"
                                                                        ng-options="pro.productName for pro in pros" ng-change="proChange3()">
                                                                    <option value="">请选择产品</option>
                                                                </select>
                                                            </div>
                                                            <div style="float:left;height:28px;width:6%;border:0px solid #999;text-align:center;line-height:28px;"></div>
                                                            <div style="float:left;height:28px;width:10%;border:0px solid #999;text-align:center;line-height:28px;">
                                                                <select name="" style="height:26px;width:100%;border-radius:4px;" ng-init="selectedTimedimension3 = timedimensions[2]"
                                                                        ng-model="selectedTimedimension3" ng-options="timedimension for timedimension in timedimensions"
                                                                        ng-change="timedimensionChange3()">
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <!--新增用例数柱状图-->
                                                        <div>
                                                            <div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
                                                            <div style="float:left;height:40px;width:45%;border:0px solid #999;font-size:20px;line-height:40px">执行用例数</div>
                                                            <div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
                                                            <div style="float:left;height:40px;width:50%;border:0px solid #999;font-size:20px;line-height:40px">新增BUG数</div>
                                                            <canvas id="donetestcases" width="500" height="320">
                                                                browser doesn't support html5
                                                            </canvas>
                                                            <canvas id="addbugs" width="500" height="320">
                                                                browser doesn't support html5
                                                            </canvas>
                                                            <div style="float:left;height:40px;width:100%;border:0px solid #999;">
                                                                <div style="float:left;height:40px;width:2%;border:0px solid #999;"></div>
                                                                <div style="float:left;height:40px;width:88%;border:0px solid #999;font-size:20px;line-height:40px">有效BUG数</div>
                                                            </div>
                                                            <canvas id="validbugs" width="500" height="320">
                                                                browser doesn't support html5
                                                            </canvas>
                                                        </div>
                                                    </div>

                                                    <div role="tabpanel" class="tab-pane fade" id="tab_content2" aria-labelledby="profile-tab">
                                                        <!--增删改按钮-->
                                                        <div class="row fontawesome-icon-list">
                                                            <div class="fa-hover col-md-3 col-sm-4 col-xs-12" style="width:90px">
                                                                <a ng-click="addTestStartRecord()">
                                                                    <i class="fa fa-plus">
                                                                    </i>
                                                                </a>
                                                            </div>
                                                            <div class="fa-hover col-md-3 col-sm-4 col-xs-12" style="width:90px">
                                                                <a ng-click="refreshTestStartRecords()">
                                                                    <i class="fa fa-refresh">
                                                                    </i>
                                                                </a>
                                                            </div>
                                                        </div>
                                                        <!--表格-->
                                                        <div class="table-responsive">
                                                            <table class="table table-striped jambo_table bulk_action">
                                                                <thead>
                                                                <tr class="headings" style="background:#00a3e2">
                                                                    <th class="column-title" style="display: table-cell;width:6%;">产品名称</th>
                                                                    <th class="column-title" style="display: table-cell;width:10%;">提测版本</th>
                                                                    <th class="column-title" style="display: table-cell;width:5%;">提测人</th>
                                                                    <th class="column-title" style="display: table-cell;width:6%;">提测时间</th>
                                                                    <th class="column-title" style="display: table-cell;width:10%;">提测分支</th>
                                                                    <th class="column-title" style="display: table-cell;width:5%;">测试人员</th>
                                                                    <th class="column-title" style="display: table-cell;width:6%;">报告时间</th>
                                                                    <th class="column-title" style="display: table-cell;width:8%;">冒烟测试通过率</th>
                                                                    <th class="column-title" style="display: table-cell;width:4%;">退回次数</th>
                                                                    <th class="column-title" style="display: table-cell;width:8%;">配置信息</th>
                                                                    <th class="column-title" style="display: table-cell;width:5%;">操作</th>
                                                                </tr>
                                                                </thead>

                                                                <tbody>
                                                                <tr class="even pointer" ng-repeat="record in testStartRecords">
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.productionName}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.versionNum}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.testStarterName}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.loanDate}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.branchName}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.testerName}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.loanDate1}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.smokeTestPassRate}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.returnNum}}</td>
                                                                    <td class=" " style="line-height:50px;">{{record.iterationTestInfo.configInfo}}</td>
                                                                    <td class=" ">
                                                                        <a ng-click="buildOnJenkins($index)">
                                                                            <button type="button" value=""
                                                                                    style="background:#00a3e2;color:#FFF;border-radius:6px;border:none;">
                                                                                构建
                                                                            </button>
                                                                        </a>
                                                                        <a ng-click="uploadTarFile($index)">
                                                                            <button type="button" value=""
                                                                                    style="background:#00a3e2;color:#FFF;border-radius:6px;border:none;">
                                                                                归档
                                                                            </button>
                                                                        </a>
                                                                        <a ng-click="deleteInfo($index)">
                                                                            <button type="button" value=""
                                                                                    style="background:#00a3e2;color:#FFF;border-radius:6px;border:none;">
                                                                                删除
                                                                            </button>
                                                                        </a>
                                                                    </td>
                                                                </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                        <div style="float:left;width:100%;height:150px;border:none;" ng-repeat="record in buildRecords">
                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    构建信息
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.productionName}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.buildDate}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.buildTime}}
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:10%;height:150px;border:none;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    CheckOut
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.isCheckout}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>

                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Build
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.isBuild}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:16%;height:150px;border:none;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Static Code Analysis
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        高优先级BUG {{record.highBugNum}}个
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        中优先级BUG {{record.normalBugNum}}个
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Caverage report
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.coverageReport}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:10%;height:150px;border:none;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Generate tar file
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.isGenerateTarFile}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>

                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Upload to Test Lib
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.isUploadToTestLib}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:10%;height:150px;border:none;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Deploy Test Environment
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.isDeployTestEnvironment}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                            <div style="float:left;width:10%;height:150px;border:none;background:#F2F2F2;">
                                                                <div style="float:left;width:100%;height:60px;border-bottom:1px solid #999;text-align:center;line-height:60px;">
                                                                    Upload to Stable Lib
                                                                </div>
                                                                <div style="float:left;width:100%;height:5px;border:none;"></div>
                                                                <div style="float:left;width:5%;height:100%;border:none;"></div>
                                                                <div style="float:left;width:90%;height:60px;border:1px solid #999;background:#00a3e2;border-radius:6px;">
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;">
                                                                        {{record.isUploadToStableLib}}
                                                                    </div>
                                                                    <div style="float:left;width:100%;height:20px;border:none;text-align:center;line-height:22px;"></div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </ng-form>
                                    </rb-pipeline-config-form>

                                    <!--上线交付部分-->
                                    <rb-pipeline-config-form item="item" mode="vm.mode" form="vm.forms[item.id]" workflow="vm.workflow" ng-show="type === '上线交付'" class="ng-scope ng-isolate-scope" aria-hidden="false">
                                        <div class="rb-header-alt ng-binding">
                                            {{taskStyle[3].name}}
                                            <a href="#" class="rb-btn-link ng-binding" ng-click="vm.helpLinkClicked()">
                                                了解更多
                                                <i class="fa fa-angle-double-right"></i>
                                            </a>
                                        </div>
                                        <ng-form name="form" class="rb-form ng-pristine ng-valid ng-valid-required ng-valid-pattern ng-valid-min ng-valid-max">

                                            <div style="width:100%;height:830px;border:none;">
                                                <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
                                                    <li role="presentation" class="active"><a href="#tab_content111" id="home-tab111" role="tab" data-toggle="tab" aria-expanded="true">可选部署包</a>
                                                    </li>
                                                    <li role="presentation" class=""><a href="#tab_content222" role="tab" id="profile-tab222" data-toggle="tab" aria-expanded="false">历史记录</a>
                                                    </li>
                                                </ul>
                                                <div id="myTabContent" class="tab-content" >
                                                    <div role="tabpanel" class="tab-pane fade active in" id="tab_content111" aria-labelledby="home-tab">
                                                        <div style="float:left;width:100%;height:800px;border:none;">
                                                            <!--版本信息表格-->
                                                            <div style="float:left;width:100%;height:30px;border:none;"></div>
                                                            <div style="float:left;width:100%;height:560px;border:none;">
                                                                <table style="float:left;;width:100%;height:auto;">
                                                                    <thead>
                                                                    <tr style="background-color:#00a3e2;height:50px;">
                                                                        <th style="text-align:center;width:15%;font-size:14px;">产品名称</th>
                                                                        <th style="text-align:center;width:85%;font-size:14px;">版本号</th>
                                                                    </tr>
                                                                    </thead>
                                                                    <tbody>
                                                                    <tr style="background-color:#F5FAFE;height:40px;" ng-repeat="pro in prosInProject track by $index">
                                                                        <td style="text-align:left;width:15%;font-size:14px;">{{pro.productName}}</td>
                                                                        <td style="width: 85%">
                                                                            <ul ng-if="pro.showList != null && pro.showList.length > 0"  style="width: 100%">
                                                                                <li style="list-style-type:none;width: 25%" ng-repeat="show in pro.showList">
                                                                                    <input type="radio" style="float:left;margin-top:9px" ng-value=true name="radio-btn-{{$parent.$index}}" ng-model="show.state" for="radio-btn-{{$parent.$index}}"/>
                                                                                    <div style="float:left;line-height:30px;">&nbsp;{{show.version}}&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                                                                </li>
                                                                            </ul>
                                                                        </td>
                                                                    </tr>
                                                                    </tbody>
                                                                </table>
                                                                <div style="float:left;width:100%;height:15px;border:none;"></div>
                                                                <div style="float:left;width:100%;height:35px;border:none;">
                                                                    <div style="float:left;width:90px;height:35px;border:none;">
                                                                        <a href="#" ng-click="download()">
                                                                            <button type="button" style="font-size:14px;;width:70px;height:35px;background:#00a3e2;color:#FFF;border-radius:4px;border:none;">
                                                                                下&nbsp;&nbsp;载
                                                                            </button>
                                                                        </a>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div role="tabpanel" class="tab-pane fade" id="tab_content222" aria-labelledby="profile-tab">
                                                        <div style="float:left;width:100%;height:800px;border:none;">
                                                            <!--历史下载记录信息表格-->
                                                            <div style="float:left;width:100%;height:30px;border:none;"></div>
                                                            <div style="float:left;width:100%;height:560px;border:none;">
                                                                <table style="float:left;;width:100%;height:auto;">
                                                                    <thead>
                                                                    <tr style="background-color:#00a3e2;height:50px;">
                                                                        <th style="text-align:center;width:4%;font-size:14px;">序号</th>
                                                                        <th style="text-align:center;width:20%;font-size:14px;">下载时间</th>
                                                                        <th style="text-align:center;width:76%;font-size:14px;">产品版本号</th>
                                                                    </tr>
                                                                    </thead>
                                                                    <tbody>
                                                                    <tr style="background-color:#F5FAFE;height:40px;" ng-repeat="record in downloadHistoryRecords">
                                                                        <td style="text-align:center;width:4%;font-size:14px;">{{$index + 1}}</td>
                                                                        <td style="text-align:center;width:20%;font-size:14px;">{{record.downloadedTime}}</td>
                                                                        <td style="width:76%;font-size:14px;">
                                                                            <ul style="width:100%;" class="clearfix">
                                                                                <li style="list-style-type:none;width: 25%;margin-right: 20px;float:left;" ng-repeat="prosversion in record.proVersionInfoList"  >
                                                                                    {{prosversion}}
                                                                                </li>
                                                                            </ul>
                                                                        </td>
                                                                    </tr>
                                                                    <tr ng-if="downloadHistoryRecords.length == 0">
                                                                        <td style="text-align:center;font-size:14px;">未找到相应数据</td>
                                                                    </tr>
                                                                    </tbody>
                                                                </table>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </ng-form>
                                    </rb-pipeline-config-form>

                                    <!--验收环节部分-->
                                    <rb-pipeline-config-form item="item" mode="vm.mode" form="vm.forms[item.id]" workflow="vm.workflow" ng-show="type === '验收环节'" class="ng-scope ng-isolate-scope" aria-hidden="false">
                                        <div class="rb-header-alt ng-binding">
                                            {{taskStyle[4].name}}
                                            <a href="#" class="rb-btn-link ng-binding" ng-click="vm.helpLinkClicked()">
                                                了解更多
                                                <i class="fa fa-angle-double-right"></i>
                                            </a>
                                        </div>
                                        <ng-form name="form" class="rb-form ng-pristine ng-valid ng-valid-required ng-valid-pattern ng-valid-min ng-valid-max">

                                            <div style="width:100%;height:830px;border:none;">
                                                <div style="float:left;width:100%;height:20px;border:none;"></div>
                                                <div style="float:left;width:100%;height:800px;border:none;">
                                                    <table style="float:left;;width:100%;height:auto;">
                                                        <thead>
                                                        <tr style="background-color:#00a3e2;height:50px;border-bottom:1px solid #F2F2F2;">
                                                            <th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">文档名称</th>
                                                            <th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">版本号</th>
                                                            <th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">状态</th>
                                                            <th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">更新日期</th>
                                                            <th style="text-align:center;width:20%;font-size:14px;border-right:1px solid #FFFFFF;">操作</th>
                                                        </tr>
                                                        </thead>
                                                        <tbody>
                                                        <tr style="background-color:#FFFFFF;height:40px;" data-ng-repeat="item in list">
                                                            <th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;">{{item.type | AcceptanceType}}</th>
                                                            <th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;">{{item.version}}</th>
                                                            <th style="text-align:center;border-right:1px solid #FFFFFF;height: 22px;width: 22px" ng-if="item.status == true">
                                                                <img src="../images/icon_right.png" />
                                                            </th>
                                                            <th style="text-align:center;border-right:1px solid #FFFFFF;height: 22px;width: 22px" ng-if="item.status == false">
                                                                <img src="../images/icon_wrong.png" />
                                                            </th>
                                                            <th style="text-align:center;font-size:12px;border-right:1px solid #FFFFFF;">{{item.lastUpdate}}</th>
                                                            <th style="text-align:center;border-right:1px solid #FFFFFF;">
                                                                <a ng-click="upload(item)"><img src="../images/icon_sc.png" style="width:22px;height:16px;" /></a>
                                                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                <a ng-click="downloadDocument(item)"><img src="../images/icon_xz.png" style="width:22px;height:16px;"/></a>
                                                            </th>
                                                        </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>

                                        </ng-form>
                                    </rb-pipeline-config-form>

                                </div>

                            </div>
                        </rb-pipeline-config-workflow>
                        <!-- end ngIf: vm.config -->
                        <div class="rb-loading-mask ng-scope ng-hide" ng-show="vm.submitting" aria-hidden="true">
                            <div class="ui loader large active"></div>
                        </div>
                    </div>
                </div>
            </rb-pipeline-config-create>
        </div>
    </div>
        <div class="page-side-panel-container">
        <div class="resize-handle">
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
        </div>
        <div class="page-side-panel-container-anchor"></div>
    </div>
    </div>
</rb-layout-page-container>
</rb-layout>
</body>

</html>


<!--添加版本测试页面的对话框dialog-->
<script type="text/ng-template" id="myModalContent.html">

    <div class="modal-header" style="text-align:center;background-color:#EEEEEE;">
        <h3>新增产品提测信息</h3>
    </div>
    <div class="modal-body" style="background-color:#EEEEEE;">
        <div class="container" style="width:80%;">
            <form class="form-horizontal">
                <div class="form-group">
                    <lable class="control-label">产品名称:</lable>
                    <select class="form-control" style="border-radius:4px;" ng-model="selectedProduct"
                            ng-options="pro.productName for pro in pros" ng-change="">
                        <option value="">---请选择产品---</option>
                    </select>
                </div>
                <div class="form-group">
                    <lable class="control-label">提测版本:</lable>
                    <input type="text" class="form-control" placeholder="请输入版本信息" style="border-radius:4px;" ng-model="newTestStartRecord.versionNum" />
                </div>
                <div class="form-group">
                    <lable class="control-label">提测人:</lable>
                    <select class="form-control" style="border-radius:4px;" ng-model="selectedTestStarter"
                            ng-options="oper.name for oper in opers" ng-change="">
                        <option value="">---请选择提测人---</option>
                    </select>
                </div>
                <div class="form-group">
                    <lable class="control-label">提测时间:</lable>
                    <div class="input-group date form_datatime">
                        <input type="text" class="form-control" style="width:100%;" name="loanDate" datepicker-popup="{{format}}" ng-model="newTestStartRecord.loanDate" is-open="loanDate" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
                        <span class="input-group-btn">
							<button type="button" class="btn btn-default" ng-click="openDatepicker($event,1)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
                    </div>
                </div>
                <div class="form-group">
                    <lable class="control-label">提测分支:</lable>
                    <input type="text" class="form-control" placeholder="请输入分支名称" style="border-radius:4px;" ng-model="newTestStartRecord.branchName" />
                </div>
                <div class="form-group">
                    <lable class="control-label">测试负责人:</lable>
                    <!--<input type="text" class="form-control" placeholder="请输入测试负责人姓名" style="border-radius:4px;" ng-model="newTestStartRecord.testerName" />-->
                    <select class="form-control" style="border-radius:4px;" ng-model="selectedTester"
                            ng-options="tester.name for tester in operators" ng-change="">
                        <option value="">---请选择测试负责人---</option>
                    </select>
                </div>
                <div class="form-group">
                    <lable class="control-label">报告时间:</lable>
                    <div class="input-group date form_datatime">
                        <input type="text" class="form-control" style="width:100%;" name="loanDate1" datepicker-popup="{{format}}" ng-model="newTestStartRecord.loanDate1" is-open="loanDate1" datepicker-options="dateOptions" close-text="Close" readOnly="true" />
                        <span class="input-group-btn">
							<button type="button" class="btn btn-default" ng-click="openDatepicker1($event,1)">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
						</span>
                    </div>
                </div>
                <div class="form-group">
                    <lable class="control-label">冒烟测试通过率:</lable>
                    <input type="text" class="form-control" placeholder="10%" style="border-radius:4px;" ng-model="newTestStartRecord.smokeTestPassRate" />
                </div>
                <div class="form-group">
                    <lable class="control-label">退回次数:</lable>
                    <input type="text" class="form-control" placeholder="请输入退回次数" style="border-radius:4px;" ng-model="newTestStartRecord.returnNum" />
                </div>
                <div class="form-group">
                    <lable class="control-label">配置信息:</lable>
                    <input type="text" class="form-control" placeholder="请输入配置信息" style="border-radius:4px;" ng-model="newTestStartRecord.configInfo" />
                </div>
            </form>
        </div>
    </div>
    <div class="modal-footer" style="text-align:center;background-color:#EEEEEE;">
        <button class="btn btn-primary" ng-click="ok()">保存</button>
        <button class="btn btn-warning" ng-click="cancel()">取消</button>
    </div>
</script>

<script type="text/ng-template" id="confirm.html">
    <div class="m-c">
        <div class="modal-body" style="background-color:#eee;">
            <h4>{{info}}</h4>
        </div>
        <div class="modal-footer" style="text-align:center;background-color:#eee;height:50px;">
            <button class="btn btn-primary" style="margin-top:-10px;" ng-show="result" ng-click="ok()">确定</button>
            <button class="btn btn-warning" style="margin-top:-10px;" ng-show="!result" ng-click="ok()">确定</button>
        </div>
    </div>
</script>

<script type="text/ng-template" id="upload.html">

    <div class="modal-header" style="text-align:center;background-color:#EEEEEE;">
        <h3>上传文档</h3>
    </div>
    <div class="modal-body" style="background-color:#EEEEEE;">
        <div class="container" style="width:80%;">
            <form class="form-horizontal">
                <div class="modal-body-sm ">
                    <div class="form-group line-div mt-24">
                        <label class="line-lable f-l ml-30"><span>版本号</span></label>
                        <div class="line-text-lg ml-10 f-l">
                            {{item.version}}
                        </div>
                    </div>
                    <div class="form-group line-div mt-16">
                        <div class="ml-30 clearfix">
                            <label class="line-lable f-l"><span class="f-right ">文件名</span></label>
                            <input type="text" class="form-control f-l ml-10" style="width: 390px;" placeholder="  未选择任何文件" >
                            <input type="file" style="display: none;" id="upImportFileId" name="upImportFileId" contentEditable="false" accept="textml" />
                            <span class="input-group-addon xn-cursor f-l" style="width: 46px;height: 20px;font-size: 12px;white-space: nowrap;" onclick="upImportFileId.click()">选择文件</span>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class="modal-footer" style="text-align:center;background-color:#EEEEEE;">
        <button class="btn btn-primary" ng-click="upload()">上传</button>
        <button class="btn btn-warning" ng-click="cancel()">取消</button>
    </div>
</script>